﻿#region 참조 네임스페이스

using System;
using System.Drawing;
using System.Windows.Media.Imaging;

#endregion

namespace Skying.IO
{
	/// <summary>
	/// 
	/// </summary>
	public class MJpegFrameReadyEventArgs : EventArgs
	{
		#region 프로퍼티

		/// <summary>
		/// 
		/// </summary>
		public byte[] FrameBuffer
		{
			get;
			internal set;
		}

		/// <summary>
		/// 
		/// </summary>
		public Bitmap Bitmap
		{
			get;
			private set;
		}

		/// <summary>
		/// 
		/// </summary>
		public BitmapImage BitmapImage
		{
			get;
			private set;
		}

		#endregion

		#region 생성자/소멸자

		public MJpegFrameReadyEventArgs(byte[] frameBuffer, Bitmap bitmap)
		{
			this.FrameBuffer = frameBuffer;

			this.Bitmap = bitmap;
		}

		public MJpegFrameReadyEventArgs(byte[] frameBuffer, BitmapImage bitmapImage)
		{
			this.FrameBuffer = frameBuffer;

			this.BitmapImage = bitmapImage;
		}

		#endregion
	}
}